/*
 * @Author: your name
 * @Date: 2021-11-30 16:09:12
 * @LastEditTime: 2021-11-30 16:11:32
 * @LastEditors: LAPTOP-VA85BEUQ
 * @Description: In User Settings Edit
 * @FilePath: \electron-luping\src\main\index.dev.js
 */
/**
 * This file is used specifically and only for development. It installs
 * `electron-debug` & `vue-devtools`. There shouldn't be any need to
 *  modify this file, but it can be used to extend your development
 *  environment.
 */

/* eslint-disable */

// Install `electron-debug` with `devtron`
require('electron-debug')({ showDevTools: true })

// Install `vue-devtools`
require('electron').app.on('ready', () => {
  let installExtension = require('electron-devtools-installer')
  installExtension.default(installExtension.VUEJS_DEVTOOLS)
    .then(() => {})
    .catch(err => {
      console.log('Unable to install `vue-devtools`: \n', err)
    })
})

// Require `main` process to boot app
require('./index')